<%-- 
    Document   : vehicles
    Created on : 15/11/2010, 10:51:22 AM
    Author     : Administrador
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!doctype html>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="../js/ajax.js"></script>
	<script src="../js/vehicles.js" type="text/javascript" ></script>
        <script type="text/javascript" src="../js/validations.js"></script>
	<link href="../styles/vehicles.css" media="screen" rel="stylesheet" type="text/css">

          <link href="../js/jquery/alerts/jquery.alerts.css" rel="stylesheet" type="text/css" />
          <script src="../js/jquery/jquery-1.4.2.js" type="text/javascript"></script>
          <script type="text/javascript" src="../js/jquery/alerts/jquery.alerts.js"></script>

        <title>Cities</title>
    </head>
    <body onload="loadInformation()">
        <table>
            <tr>
                <td colspan="6" align="center">

                    <div id="datesvehicles">
                        <table>

                             <tr>
                                <td align="right">
                                    <span> Modelo del Vehiculo: </span>
                                </td>
                                <td>
                                    <input type="text" id="modelvehicles" onkeypress="return soloNumeros(event)">
                                </td>
                            </tr>
                            
                          <tr>
                                <td align="right">
                                    <span> Placa del vehiculo: </span>
                                </td>
                                <td>
                                    <input type="text" id="carpalte" onkeypress="return letrasYNumeros(event)" >
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <span> Capacidad del vehiculo: </span>
                                </td>
                                <td>
                                    <input type="text" id="capacity" onkeypress="return soloNumeros(event)">
                                </td>
                            </tr>
                              <tr>
                                <td align="right">
                                    <span> Id conductor principal: </span>
                                </td>
                                <td>
                                    <select  id="iddrivpri"><option>Seleccione</option></select>
                                </td>
                            </tr
                            <tr>
                                <td align="right">
                                    <span> Id conductor Remplazo: </span>
                                </td>
                                <td>
                                    <select  id="iddrivre"><option>Seleccione</option></select>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <span> Tipo de vehiculo: </span>
                                </td>
                                <td>
                                    <input type="text" id="typevehicles" onkeypress="return validaNombYApe(event)">
                                </td>
                            </tr>


                            <tr>
                                <td colspan="2" align="center">
                                    <input type="button" id="Add" onclick="addvehicles()" value="ADICIONAR">
                                    <input type="button" id="Update" onclick="updatevehicles()" value="MODIFICAR">
                                    <input type="button" id="Delete" onclick="deletevehicles()" value="ELIMINAR">
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </body>
</html>

